<pro-header></pro-header>
<nz-card>
    <ng-template #title>
        报名设置
    </ng-template>

    <ng-template #body>
        <form nz-form [formGroup]="signFrom"
              (ngSubmit)="save($event)">
            <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSpan]="6">
                    <label for="title" nz-form-item-required>标题</label>
                </div>
                <div nz-col [nzSpan]="12" id="title" nz-form-control nzHasFeedback>
                    <nz-input [nzPlaceHolder]="'标题'" formControlName="title" name="title"></nz-input>
                </div>
            </div>

            <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSpan]="6">
                    <label for="signupPrice" nz-form-item-required>报名费</label>
                </div>
                <div nz-col [nzSpan]="12" id="signupPrice" nz-form-control nzHasFeedback>
                    <nz-input [nzPlaceHolder]="'报名费'" formControlName="signupPrice" name="signupPrice"></nz-input>
                </div>
            </div>

            <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSpan]="6">
                    <label for="trainePrice" nz-form-item-required>培训费用</label>
                </div>
                <div nz-col [nzSpan]="12" id="trainePrice" nz-form-control nzHasFeedback>
                    <nz-input [nzPlaceHolder]="'培训费用'" formControlName="trainePrice"></nz-input>
                </div>
            </div>


            <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSpan]="6">
                    <label for="totalPrice" nz-form-item-required>总费用</label>
                </div>
                <div nz-col [nzSpan]="12" id="totalPrice" nz-form-control nzHasFeedback>
                    <nz-input [nzPlaceHolder]="'总费用'" formControlName="totalPrice"></nz-input>
                </div>
            </div>


            <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSpan]="6">
                    <label for="type" nz-form-item-required>类型</label>
                </div>
                <div nz-col [nzSpan]="12" id="type" nz-form-control nzHasFeedback>
                    <nz-input [nzPlaceHolder]="'类型'" formControlName="type"></nz-input>
                </div>
            </div>
            <div nz-form-item nz-row>
                <div nz-form-label nz-col [nzSpan]="6">
                </div>
                <div nz-col [nzSpan]="12">
                    <button nz-button [nzType]="'primary'" [disabled]="!signFrom.valid">保存</button>
                </div>
            </div>
        </form>
    </ng-template>
</nz-card>
